/** 测试假数据 在线用户和攻击路径 */
export const ChinaMapData = [
  {
    name: "中国-北京",
    value: [116.46, 39.92, 1],
    source: {
      region: {
        regionName: "中国-北京",
        regionId: 2004,
        point: {
          latitude: 39.92,
          longitude: 116.46
        },
        name: {
          name: "北京",
          zh_cn: "北京",
          en: "Beijing"
        }
      },
      number: 1
    }
  },
  {
    name: "中国-武汉",
    value: [114.31, 30.52, 1], // 假设的经纬度值
    source: {
      region: {
        regionName: "中国-武汉",
        regionId: 2006, // 假设的ID
        point: {
          latitude: 30.52,
          longitude: 114.31
        },
        name: {
          name: "武汉",
          zh_cn: "武汉",
          en: "Wuhan"
        }
      },
      number: 1
    }
  },
  {
    name: "中国-西安",
    value: [108.95, 34.26, 1], // 假设的经纬度值
    source: {
      region: {
        regionName: "中国-西安",
        regionId: 2005, // 假设的ID
        point: {
          latitude: 34.26,
          longitude: 108.95
        },
        name: {
          name: "西安",
          zh_cn: "西安",
          en: "Xi'an"
        }
      },
      number: 1
    }
  },
  {
    name: "中国-郑州",
    value: [113.65, 34.76, 1], // 假设的经纬度值，请根据实际情况替换
    source: {
      region: {
        regionName: "中国-郑州",
        regionId: 2007, // 假设的ID，请根据实际情况替换
        point: {
          latitude: 34.76,
          longitude: 113.65
        },
        name: {
          name: "郑州",
          zh_cn: "郑州",
          en: "Zhengzhou"
        }
      },
      number: 1
    }
  }
]

export const ChinaMapAttackData = [
  {
    attackTypes: ["拒绝服务"],
    source: {
      name: {
        name: "西安",
        zh_cn: "西安",
        en: "Xi'an"
      },
      point: {
        latitude: 34.26,
        longitude: 108.95
      },
      regionId: 2005, // 假设的ID
      regionName: "中国-西安"
    },
    target: {
      regionName: "中国-北京",
      regionId: 2004,
      point: {
        latitude: 39.92,
        longitude: 116.46
      },
      name: {
        name: "北京",
        zh_cn: "北京",
        en: "Beijing"
      }
    }
  },
  {
    attackTypes: ["恶意软件"],
    source: {
      regionName: "中国-北京",
      regionId: 2004,
      point: {
        latitude: 39.92,
        longitude: 116.46
      },
      name: {
        name: "北京",
        zh_cn: "北京",
        en: "Beijing"
      }
    },
    target: {
      regionName: "中国-北京",
      regionId: 2004,
      point: {
        latitude: 39.92,
        longitude: 116.46
      },
      name: {
        name: "北京",
        zh_cn: "北京",
        en: "Beijing"
      }
    }
  }
]
